﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head> 
     <title>欢迎使用 权限管理系统</title> 
    <include file="Public:header" />
    <script src="__PUBLIC__/lib/js/LG.js" type="text/javascript"></script>
     <link href="__PUBLIC__/lib/css/welcome.css" rel="stylesheet" type="text/css" />
</head>

<body style="padding:10px; overflow:auto; text-align:center;background:#FFFFFF;"> 
        <div class="navbar"><div class="navbar-l"></div><div class="navbar-r"></div>
        <div class="navbar-icon"><img src="__PUBLIC__/lib/icons/32X32/hire_me.gif" /></div>
        <div class="navbar-inner"> 
        <b><span id="labelusername"></span><span>，</span><span id="labelwelcome"></span><span>欢迎使用cqmis管理系统</span></b>
        <a href="javascript:void(0)" id="usersetup" style="display:none">账号设置</a>
        </div>
        </div>

        <div class="navline">
        </div>
        
        <div class="links"> 
        </div>

        <div class="l-clear"></div>
        


        <div class="navbar"><div class="navbar-l"></div><div class="navbar-r"></div>
        <div class="navbar-icon"><img src="__PUBLIC__/lib/icons/32X32/collaboration.gif" /></div>
        <div class="navbar-inner"> 
        <b> 使用说明</b> 
        </div>
        </div>
        <p style="margin:10px;">您可以快速进行产品增加管理操作</p>
        <p style="margin:10px;">也可以快速进行系统权限的管理操作，全部的菜单都在左侧。。。</p>
        <div class="navline">
        </div>
           <div class="withicon">
            <div class="icon"> 
                <img src="__PUBLIC__/lib/icons/32X32/communication.gif" /></div>
            <span><b>是基于thinkphp 和ligerui开发的一套权限管理系统。</b></span>
        </div>
           <p class="p1"><b>特别说明</b>：此程序版权归作者所有，仅供学习参考，请勿用于任何商业用途！如有问题，请发邮件至hegqbest@163.com</p>
           
           <script type="text/javascript">
               $("div.link").live("mouseover", function ()
               {
                   $(this).addClass("linkover");
                    
               }).live("mouseout", function ()
               {
                   $(this).removeClass("linkover");
                    

               }).live('click', function (e)
               { 
                   var text = $("a", this).html();
                   var url = $(this).attr("url");
                   var id =$(this).attr("id")
                   parent.f_addTab(id+'_index', text, '__APP__/Rbac/'+url+'/index/');
               });

               var links = $(".links");
               

               function loadMyFavorite()
               {
                   $.get("__APP__/Rbac/Public/getMyFavorite",function (Favorite)
                       {
                	     Favorite1=$.parseJSON(Favorite);
                           links.html("");
                           $(Favorite1).each(function (i, data)
                           {
                              // alert(data.title);
                        	   var item = $('<div class="link"><img src="" /><a href="javascript:void(0)"></a></div>');
                               $("img", item).attr("src", "__ROOT__"+data.nodeicon);
                               $("a", item).html(data.title);
                               item.attr("id", data.name);
                               //item.attr("title", data.FavoriteContent || data.FavoriteTitle);
                               item.attr("url", data.name);
                               links.append(item);
                           });
                                              
                   }); 
               }


             loadMyFavorite();
           </script>  
</body>
</html>
